package com.csot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 *
 * @author csot
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan("com")
//@MapperScan("com.**.mapper")
public class CsotApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        // System.setProperty("spring.profiles.active", "prd");
        SpringApplication.run(CsotApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  IP启动成功   ლ(´ڡ`ლ)ﾞ  \n" + " .-------.       ____     __        \n"
                + "    _       ___     ___    _  _    _____    ___    _  _     ___   \n" +
                "  | |     |_ _|   /   \\  | \\| |  |_   _|  / _ \\  | \\| |   / __|  \n" +
                "  | |__    | |    | - |  | .` |    | |   | (_) | | .` |  | (_ |  \n" +
                "  |____|  |___|   |_|_|  |_|\\_|   _|_|_   \\___/  |_|\\_|   \\___|  \n" +
                "_|\"\"\"\"\"|_|\"\"\"\"\"|_|\"\"\"\"\"|_|\"\"\"\"\"|_|\"\"\"\"\"|_|\"\"\"\"\"|_|\"\"\"\"\"|_|\"\"\"\"\"| \n" +
                "\"`-0-0-'\"`-0-0-'\"`-0-0-'\"`-0-0-'\"`-0-0-'\"`-0-0-'\"`-0-0-'\"`-0-0-' ");
    }
}
